package cn.flexui.flexuiserver.service;

import cn.flexui.flexuiserver.domain.entity.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stripe.model.PaymentIntent;

/**
 * <p>
 * 支付信息表 服务类
 * </p>
 *
 * @author apeto
 * @since 2024-10-13 03:49:49
 */
public interface PaymentInfoService extends IService<PaymentInfo> {

    PaymentInfo getPaySn(String paySn);


    void handleSuccessfulPayment(PaymentIntent paymentIntent);

    void handleFailedPayment(PaymentIntent paymentIntent);
}
